﻿using System;
using System.Runtime.CompilerServices;

namespace Quicklight.Mobile.Cordova.Compass {

   [ScriptNamespace("navigator")]
   [ScriptName("compass")]
   public static class Compass {

      [ScriptName("getCurrentHeading")]
      public static void GetCurrentHeading(CompassSuccessCallback compassSuccess, CompassErrorCallback compassError, CompassOptions compassOptions) {
      }

      /// <todo>The return type for function WatchHeading could not be determined from the documentation. This should be improved</todo>
      [ScriptName("watchHeading")]
      public static object WatchHeading(CompassSuccessCallback compassSuccess, CompassErrorCallback compassError, CompassOptions compassOptions) {
         return null;
      }

      /// <todo>The parameter type for function ClearWatch could not be determined from the documentation. This should be improved</todo>
      [ScriptName("clearWatch")]
      public static void ClearWatch(object watchID) {
      }
   }

}
